package com.cmcc.example.face.noSdk.common.vo.response;


import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * <name>FaceMatcherResponseVO</name>
 * 人脸比对返回data对象
 * </p >
 *
 * @author arabira
 * @version 1.0 2020-04-03
 * @since 1.0
 */
public class FaceMatcherResponseVO implements Serializable {
    private static final long serialVersionUID = -8557215632958708014L;
    private float confidence;
    private int cost;
    private String imageId1;
    private String imageId2;
    private List<FaceResponseVO> faces1;
    private List<FaceResponseVO> faces2;

    public float getConfidence() {
        return confidence;
    }

    public void setConfidence(float confidence) {
        this.confidence = confidence;
    }

    public int getCost() {
        return cost;
    }

    public void setCost(int cost) {
        this.cost = cost;
    }

    public String getImageId1() {
        return imageId1;
    }

    public void setImageId1(String imageId1) {
        this.imageId1 = imageId1;
    }

    public String getImageId2() {
        return imageId2;
    }

    public void setImageId2(String imageId2) {
        this.imageId2 = imageId2;
    }

    public List<FaceResponseVO> getFaces1() {
        return faces1;
    }

    public void setFaces1(List<FaceResponseVO> faces1) {
        this.faces1 = faces1;
    }

    public List<FaceResponseVO> getFaces2() {
        return faces2;
    }

    public void setFaces2(List<FaceResponseVO> faces2) {
        this.faces2 = faces2;
    }

    public class FaceResponseVO implements Serializable{
        private static final long serialVersionUID = 6407712298230715437L;
        private FaceRectangleVO faceRectangle;
        private String faceId;

        public FaceRectangleVO getFaceRectangle() {
            return faceRectangle;
        }

        public void setFaceRectangle(FaceRectangleVO faceRectangle) {
            this.faceRectangle = faceRectangle;
        }

        public String getFaceId() {
            return faceId;
        }

        public void setFaceId(String faceId) {
            this.faceId = faceId;
        }
    }

    public class FaceRectangleVO implements Serializable{
        private static final long serialVersionUID = 6561204275565468204L;
        private float upperLeftY;
        private float upperLeftX;
        private float lowerRightX;
        private float lowerRightY;

        public float getUpperLeftY() {
            return upperLeftY;
        }

        public void setUpperLeftY(float upperLeftY) {
            this.upperLeftY = upperLeftY;
        }

        public float getUpperLeftX() {
            return upperLeftX;
        }

        public void setUpperLeftX(float upperLeftX) {
            this.upperLeftX = upperLeftX;
        }

        public float getLowerRightX() {
            return lowerRightX;
        }

        public void setLowerRightX(float lowerRightX) {
            this.lowerRightX = lowerRightX;
        }

        public float getLowerRightY() {
            return lowerRightY;
        }

        public void setLowerRightY(float lowerRightY) {
            this.lowerRightY = lowerRightY;
        }
    }
}